﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ColorNStyle.ascx.cs" Inherits="VIT.Wedding.Modules.ColorNStyle.ColorNStyle" %>

<asp:Repeater runat="server" ID="rptColor">
    <ItemTemplate>
        <ul>
            <a href="<%=URLRoot %>Components/Product/List.aspx?s<%=ColorNStyleModuleName %>Id=<%#Eval("Id")%>"><img alt="<%# Eval("Description") %>" src="<%# URLRoot + "Uploads/Images/" + ColorNStyleModuleName + "/Thumbs/" + Convert.ToString(Eval("ImagePath"))%>" /></a>
            <li style="background-color: #<%# Convert.ToInt64(Eval("Value")).ToString("X6") %>"></li>
            <h2><a href="#"><%# Eval("Name") %></a></h2>
        </ul>
    </ItemTemplate>
</asp:Repeater>

<asp:Repeater runat="server" ID="rptStyle">
    <ItemTemplate>
        <ul>
            <a href="<%=URLRoot %>Components/Product/List.aspx?s<%=ColorNStyleModuleName %>Id=<%#Eval("Id")%>"><img alt="<%# Eval("Description") %>" src="<%# URLRoot + "Uploads/Images/" + ColorNStyleModuleName + "/Thumbs/" + Convert.ToString(Eval("ImagePath"))%>" /></a>
            <%--<li style="background-color: #<%# Convert.ToInt64(Eval("Value")).ToString("X6") %>"></li>--%>
            <h2><a href="#"><%# Eval("Name") %></a></h2>
        </ul>
    </ItemTemplate>
</asp:Repeater>